# 父类
class Car():
    def __init__(self, maker):
        self.maker = maker

    def fnFullTank(self):
      print ('fulling...')

class ElectricCar(Car):
    
    def __init__(self, maker):
        super().__init__(maker)
    
    def fnFullTank(self):
      print ('这是一辆电动车, 不需要加油.')

tesla = ElectricCar('Tesla')
tesla.fnFullTank()
# 这是一辆电动车, 不需要加油.